﻿@model MvcMusicStore.Song

@{
    ViewBag.Title = "Song purchased before!";
}

<h2>Song purchased before</h2>

<div id="search">
    <ul id="album-list">

        <li><a href="@Url.Action("Song", "Store", new { id = Model.id })">
                <img alt="@Model.titleSong" src="@Model.Album.coverAlbum" />
                <p>@Model.titleSong</p>
                <span><em>Genre:</em>@Model.Genre.nameGenre</span> <span><em>Artist:</em>@Model.Author.nameAuthor</span>
                <span><em>Price:</em>@String.Format("{0:F}", Model.costSong)</span> </a>
            <p class="button">
                @Html.ActionLink("Get back!", "Song", "Store", new { id = Model.id }, "")
            </p>
        </li>
    </ul>
</div>
